package org.zfes.snowier.cloud.zbss.cms.topic.service;

import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.cloud.zbss.cms.topic.model.CmsTopicModel;
public interface ICmsTopicModelService{

	 Optional<CmsTopicModel> loadCmsTopicModelById(Long id);
	
	 void createCmsTopicModel(CmsTopicModel cmsTopicModle);
	
	 void updateCmsTopicModel(CmsTopicModel cmsTopicModle);

	 void deleteCmsTopicModel(Long id);
	
	 DataSet loadCmsTopicModelDataSet(Map<String, Object> params);
	 
	 List<CmsTopicModel> loadByTopicId(Long topicId);
	 
 	void setCmsTopicModleStatus(Long id, Byte status);
}